<html>
<meta charset="UTF-8">
<head>
    <title> shit </title>
    <script src="https://cdn.bootcss.com/mermaid/8.0.0-rc.8/mermaid.min.js"></script>
    <script>mermaid.initialize({startOnLoad: true});</script>


</head>


<body>

<div class="mermaid">
    sequenceDiagram
    title: 序列图sequence 示例
    # participant, 参与者
    participant startup.bat
    participant bootstrap
    participant Catalina
    participant server
    participant service
    participant executor
    participant engine
    participant host
    participant context
    participant connector
    participant protocolHandler

    bootstrap->> bootstrap: init()
    bootstrap->> bootstrap: load()
    bootstrap->> Catalina: load()
    Catalina->> Catalina: 创建server
    Catalina->> server: init()
    server  ->> service: init()
    service  ->> executor: init()
    service  ->> engine: init()
    service  ->> connector: init()
    engine  ->> host: init()
    connector  ->> protocolHandler: init()




    bootstrap->> bootstrap: start()
    bootstrap->> bootstrap: start()
    bootstrap->> Catalina: start()
    Catalina->> Catalina: 创建server
    Catalina->> server: start()
    server  ->> service: start()
    service  ->> executor: start()
    service  ->> engine: start()
    service  ->> connector: start()
    engine  ->> host: start()
    connector  ->> protocolHandler: start()


</div>
</body>
</html>

<!--

    note left of A: A左侧说明
    note over B: 覆盖B的说明
    note right of C: C右侧说明


    # - 代表实线, -- 代表虚线; > 代表实箭头, >> 代表虚箭头
    A->>A:自己到自己
    A->>B:实线实箭头


-->
